#pragma once
class FaceDeteiveThread
{
public:
	FaceDeteiveThread(int sleepTime);
	~FaceDeteiveThread(void);
	void Start();
	void Stop();
	void Suspend();
	void Resume();
	bool GetStated();
	bool GetSleepTime();
	void SetSleepTime(int sleepTime);
	void SetImage(BYTE* pImage,int pImageLenth);
	
protected:
	void Worker();
protected:
	bool m_started;
private:
	int m_sleepTime;
};

